package net.suncaper.demo.service;

import net.suncaper.demo.domain.Information;

import java.math.BigDecimal;
import java.util.List;

public interface InformationService {
    List<Information> findInformation();
//    List<Information> findInformationBytitle(String title);
    void saveInformation(Information information);

    void deleteInformationById(BigDecimal id);
    void updateInformation(Information information);

    public Information findInformationById(BigDecimal id);
}
